WPDesk\ShopMagicCart\Cart\Cart S

Total Complexity 47
Dependencies 9
Dependents 10
Total lines 307
Lines of code 195
Logical lines of code 110
Comment lines 32
Methods 28
Properties 16

Methods 28

Method Rating Maintainability Complexity Lines of code
calculate_totals()
S
53 5 22
get_status_translated()
S
61 5 13
sync()
S
51 4 26
append_to_wc_cart()
S
59 4 15
normalize()
S
57 2 16
__construct()
S
58 1 15
has_changed()
S
79 2 3
sync_order()
S
67 2 8
needs_update()
S
70 2 6
set_status_abandoned()
S
72 2 6
get_shipping_total()
S
81 1 3
is_status_abandoned()
S
80 1 3
set_last_inserted_id()
S
81 1 3
get_currency()
S
82 1 3
get_token()
S
82 1 3
get_total()
S
81 1 3
get_products_quantity_count()
S
67 1 9
get_shipping_tax_total()
S
81 1 3
get_fees()
S
82 1 3
get_coupons()
S
82 1 3
map_array_items()
S
69 1 8
get_items()
S
82 1 3
get_created()
S
82 1 3
get_last_modified()
S
82 1 3
get_customer()
S
82 1 3
get_id()
S
82 1 3
get_changed_fields()
S
82 1 3
get_status()
S
82 1 3